<?php
namespace app\common\model;
use app\common\model\CommonModel;
use think\Db;

class OrderActivity extends CommonModel
{
	/**
	* 添加订单活动信息
	*/
	public function serOrderActivity($data)
	{
		return $this->insert($data);
	}
    /**
    * 订单活动信息
    */
    public function orderActivityInfo($where)
    {
        $item = $this->where($where)->find();
        return empty($item) ? array():$item->toArray();
    }
}
